package com.neusoft.tmall.ums.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import com.neusoft.tmall.ums.mapper.UmsMenuMapper;
import com.neusoft.tmall.ums.entity.UmsMenu;
import com.neusoft.tmall.ums.entity.UmsMenuExample;
import com.neusoft.tmall.ums.service.UmsMenuService;
@Service
public class UmsMenuServiceImpl extends ServiceImpl<UmsMenuMapper, UmsMenu> implements UmsMenuService{

    @Override
    public long countByExample(UmsMenuExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(UmsMenuExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<UmsMenu> selectByExample(UmsMenuExample example) {
        List<UmsMenu> list = baseMapper.selectByExample(example);
        return list;
    }
    @Override
    public int updateByExampleSelective(UmsMenu record,UmsMenuExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(UmsMenu record,UmsMenuExample example) {
        return baseMapper.updateByExample(record,example);
    }
}
